gtk: Fix event delivery on GTK_PHASE_TARGET controllers
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 15 May 2017 11:44:33 +0000 (13:44 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 25 May 2017 14:25:59 +0000 (16:25 +0200)
commitb62b33c1d9018e9500de0e0f89efa49d43ea3839
tree8bb4b48c38b444ba612769bb8b6250c1cecbec55
parent3a15c8241ec14df3e930a8fb4120bd892259637c
gtk: Fix event delivery on GTK_PHASE_TARGET controllers

Look up the event target, not the "event widget" which is based on the
event window, and thus points to the toplevel.
gtk/gtkwidget.c